package com.towexin.application.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.towexin.application.system.domain.AuthorityMenu;
import com.towexin.application.system.mapper.AuthorityMenuMapper;
import com.towexin.application.system.service.AuthorityMenuService;
import org.springframework.stereotype.Service;

/**
 * TODO
 *
 * @author Towexin
 * @version 1.0
 * @date 2021/4/13 14:15
 */
@Service
public class AuthorityMenuServiceImpl extends ServiceImpl<AuthorityMenuMapper, AuthorityMenu> implements AuthorityMenuService {
    //关联权限与菜单
    @Override
    public boolean associateMenu(AuthorityMenu authorityMenu) {
        return saveOrUpdate(authorityMenu);
    }
}
